package cn.edu.njust.epms.entity;

import java.util.List;

public class UserDetails {
    private String pid;
    private String name;
    private String addr;
    private String phone;
    private Boolean gender;
    private Boolean isSelf;
    private Boolean isQuarantine;

    private Integer sts;

    private Integer st;

    private Integer uId;

    @Override
    public String toString() {
        return "UserDetails{" +
                "pid='" + pid + '\'' +
                ", name='" + name + '\'' +
                ", addr='" + addr + '\'' +
                ", phone='" + phone + '\'' +
                ", gender=" + gender +
                ", isSelf=" + isSelf +
                ", isQuarantine=" + isQuarantine +
                ", sts=" + sts +
                ", st=" + st +
                ", uId=" + uId +
                '}';
    }

    public Integer getSt() {
        return st;
    }

    public void setSt(Integer st) {
        this.st = st;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getSts() {
        return sts;
    }

    public void setSts(Integer sts) {
        this.sts = sts;
    }

    //    public List<HRRecord> getHr() {
//        return hr;
//    }
//
//    public void setHr(List<HRRecord> hr) {
//        this.hr = hr;
//    }


    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

//    public boolean isGender() {
//        return gender;
//    }
//
//    public void setGender(boolean gender) {
//        this.gender = gender;
//    }

//    public boolean isSelf() {
//        return isSelf;
//    }
//
//    public void setSelf(boolean self) {
//        isSelf = self;
//    }

    public Boolean getGender() {
        return gender;
    }

    public void setGender(Boolean gender) {
        this.gender = gender;
    }

    public Boolean getSelf() {
        return isSelf;
    }

    public void setSelf(Boolean self) {
        isSelf = self;
    }

    public Boolean getQuarantine() {
        return isQuarantine;
    }

    public void setQuarantine(Boolean quarantine) {
        isQuarantine = quarantine;
    }

//    public Boolean getIsQuarantine() {
//        return isQuarantine;
//    }
//
//    public void setIsQuarantine(Boolean quarantine) {
//        isQuarantine = quarantine;
//    }

//    public boolean isQuarantine() {
//        return isQuarantine;
//    }
//
//    public void setQuarantine(boolean quarantine) {
//        isQuarantine = quarantine;
//    }

    public UserDetails(User user, String pid, String name, String addr, String phone, boolean gender, boolean isSelf, boolean isQuarantine) {
        this.pid = pid;
        this.name = name;
        this.addr = addr;
        this.phone = phone;
        this.gender = gender;
        this.isSelf = isSelf;
        this.isQuarantine = isQuarantine;
    }

    public UserDetails() {
    }
}
